import actionTypes from "./actionTypes"
import http from '../../service/http'

export function AddShoppingAction(payload) {
  return {
    type: actionTypes.ADD_SHOPPING_CART,
    payload: payload,
  }
}
export function DecreaseShoppingAction(payload) {
  return {
    type: actionTypes.DECREASE_SHOPPING_CART,
    payload: payload,
  }
}
export function SetShoppingAction(payload) {
  return {
    type: actionTypes.SET_SHOPPING_CART,
    payload: payload,
  }
}
export function ClearShoppingAction(payload) {
  return {
    type: actionTypes.CLEAR_SHOPPING_CART,
    payload: payload,
  }
}